package com.px.project.module.ht.mapper;

import org.apache.ibatis.annotations.Param;
import com.px.project.module.ht.entity.LocomotiveInfo;
import com.px.project.module.ht.vo.LocomotiveInfoVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * 机车-机械管理 Mapper 接口
 *
 * @author 品讯科技
 * @since 2023-10-07
 */
public interface LocomotiveInfoMapper extends BaseMapper<LocomotiveInfo> {
    /**
     * 获取机车信息 VO
     *
     * @param page 页
     * @param category 类别
     * @return {@link Page}<{@link LocomotiveInfoVo}>
     */
    Page<LocomotiveInfoVo> getLocomotiveInfoVo(@Param("page") Page<LocomotiveInfoVo> page, @Param("category") Integer category);
}
